function searchtext()
{
	$.ajax(
			{
				url:"/appweb/admin/category/search",
				type:"POST",
				async:true,
				data :{textsearch : $('#text-searches').val()},
				dataType:"html",
				success: function(data)
				{
					var getarr = $.parseJSON(data);
					//alert(data['id_catelog']);
					//console.debug(getarr);
					//$('.box-table-log table').
					$.each(getarr,function(index,arrjson)
					{
						htm = '<tr><td>'+arrjson[name_catelog]+'</td></tr';
						//alert(arrjson.name_catelog);
						$('.box-table-log table').find('tr:first').insertAfter(htm);
					}
					);
				}
			}
			);
}